package com.xiongmm.stream.domain;

import java.io.Serializable;
import java.util.Date;

/**
 * @author: XiongMM
 * @date: 2019/5/24 19:10
 * @description:
 */
public class InstanceInfoCmdVo implements Serializable {

    private static final long serialVersionUID = 2010734678431646248L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 集群ID
     */
    private Long appId;

    /**
     * 集群id
     */
    private Long instanceId;

    /**
     * 命令的名称
     */
    private String commandName;

    /**
     * 命令的个数，这是差值
     */
    private Long commandCount = 0L;

    /**
     * 命令执行耗时，这是差值
     */
    private Long commandUsec = 0L;

    /**
     * 命令的类型
     */
    private String commandType;

    /**
     * 收集时间
     */
    private Date collectTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getAppId() {
        return appId;
    }

    public void setAppId(Long appId) {
        this.appId = appId;
    }

    public Long getInstanceId() {
        return instanceId;
    }

    public void setInstanceId(Long instanceId) {
        this.instanceId = instanceId;
    }

    public String getCommandName() {
        return commandName;
    }

    public void setCommandName(String commandName) {
        this.commandName = commandName;
    }

    public Long getCommandCount() {
        return commandCount;
    }

    public void setCommandCount(Long commandCount) {
        this.commandCount = commandCount;
    }

    public Long getCommandUsec() {
        return commandUsec;
    }

    public void setCommandUsec(Long commandUsec) {
        this.commandUsec = commandUsec;
    }

    public String getCommandType() {
        return commandType;
    }

    public void setCommandType(String commandType) {
        this.commandType = commandType;
    }

    public Date getCollectTime() {
        return collectTime;
    }

    public void setCollectTime(Date collectTime) {
        this.collectTime = collectTime;
    }
}
